//引入axios
import  Axios  from "./../utils/axios";
//引入api
import api from "./../api/index";


function applicationAdd(limit,page){
    return Axios.post(api.applicationa.facilitypage,{limit,page})
}

function addConsumables(limit,page){////损耗品领用申请条件查询和查看详情
    return Axios.post(api.applicationa.consumablepage,{limit,page})
}
function Withdrawapp(id){//损耗品领用申请的撤回申请
    return Axios.delete(api.applicationa.consumabledelete+'?id='+id)
} 
function Seedetailss(id,limit,page){
    return Axios.post(api.applicationa.consumablepage,{id,limit,page})
}
export default{
    applicationAdd,
    addConsumables,
    Withdrawapp,
    Seedetailss
}

